﻿using DTO.Authorization;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace DAO.IAuthorizationDAO
{
    interface IUserDAO
    {
        bool Insert(UserDTO user);
        bool UpdateById(UserDTO user);
        bool UpdateByName(UserDTO user);
        bool DeleteById(String userId);
        bool DeleteByName(String userName);
        DataTable GetByName(String userName);
        DataTable GetById(String userId);
        DataTable GetAll();
        DataTable GetByEnabled(Boolean enabled);
    }
}
